package com.wudi.estate.bean.ownermanagement;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Personnel {
   //
   @TableId(type = IdType.AUTO)
   private long id ;
   private String name;
   private String img;
   private String peopleNum;
   private long contactWay;
   private String occupation;
   @DateTimeFormat(pattern = "yyyy-MM-dd")
   private Date birthday;
   private boolean sex;
   private String remark;
   @DateTimeFormat(pattern = "yyyy-MM-dd")
   private Date createTime;
   private long mtypeid;
   private long bid;
   private boolean state;
}
